#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct EIGENVALUE_CPLXData
{
    SG::DataStructure::Common::I64  m_MODE       = 0;    ///<
    SG::DataStructure::Common::I64  m_ORDER      = 0;    ///<
    SG::DataStructure::Common::Real m_REIGEN     = 0.0;  ///<
    SG::DataStructure::Common::Real m_IEIGEN     = 0.0;  ///<
    SG::DataStructure::Common::Real m_FREQ       = 0.0;  ///<
    SG::DataStructure::Common::Real m_DAMP       = 0.0;  ///<
    SG::DataStructure::Common::Real m_SPIN_SPEED = 0.0;  ///<
    SG::DataStructure::Common::Id   m_domainId   = 0;    ///< Domain identifier
};

DECLSPEC bool operator< (const EIGENVALUE_CPLXData& val1, const EIGENVALUE_CPLXData& val2);

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const EIGENVALUE_CPLXData& val1, const EIGENVALUE_CPLXData& val2);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
